long var_ele(long n, int A[n][n], long i, long j){
    return A[i][j];
}